package cn.rokhdelar.ams.management.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author Rokhdelar
 * @since 2025/3/24 -- 16:11
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysOperationLog extends BasePo {
    @Schema(description = "操作用户")
    private String username;

    @Schema(description = "请求IP")
    private String ip;

    @Schema(description = "请求方法")
    private String method;

    @Schema(description = "请求路径")
    private String uri;

    @Schema(description = "请求参数")
    private String params;

    @Schema(description = "请求接口：controller.method")
    private String interfaceName;

    @Schema(description = "结果")
    private String result;

    @Schema(description = "操作时间")
    private LocalDateTime operationTime;
}
